package miss.sheffield;

/**
 *
 * @author Kevin Doyle
 */
public class WayPoint extends GPSPoint {

    private Double velocity, forwardAzimuth, range;

    /**
     *
     * @param latitude
     * @param longitude
     */
    public WayPoint(Double latitude, Double longitude) {
        super(latitude, longitude);
    }

    /**
     *
     * @param velocity
     * @param forwardAzimuth
     * @param range
     */
    public WayPoint(Double velocity, Double forwardAzimuth, Double range) {
        this.velocity = velocity;
        this.forwardAzimuth = forwardAzimuth;
        this.range = range;
    }

    public Double getVelocity() {
        return velocity;
    }

    public void setVelocity(Double velocity) {
        this.velocity = velocity;
    }

    public Double getForwardAzimuth() {
        return forwardAzimuth;
    }

    public void setForwardAzimuth(Double forwardAzimuth) {
        this.forwardAzimuth = forwardAzimuth;
    }

    public Double getRange() {
        return range;
    }

    public void setRange(Double range) {
        this.range = range;
    }

    @Override
    public String toString() {
        return "WayPoint{" + "velocity=" + velocity + ", forwardAzimuth=" + forwardAzimuth + ", range=" + range + '}';
    }
}
